//
//  BRCustiomAlertView.h
//  BrezzeSaaS
//
//  Created by IOS on 2021/10/14.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^AlertAction)(void);

@interface BRCustiomAlertView : UIView

- (instancetype)initWithTitle:(NSString *)title subTitle:(NSString *)subTitle cancelStr:(NSString *)cancelStr succStr:(NSString *)succStr cancelAction:(AlertAction)cancel successAction:(AlertAction)success;
- (instancetype)initWithTitle:(NSString *)title subTitle:(NSString *)subTitle cancelStr:(NSString *)cancelStr succStr:(NSString *)succStr cancelAction:(AlertAction)cancel successAction:(AlertAction)success showBC:(BOOL)isHas;

/// 默认 取消NOT NOW，确定YES
- (instancetype)initWithTitle:(NSString *)title subTitle:(NSString *)subTitle cancelAction:(AlertAction)cancel successAction:(AlertAction)success;
- (instancetype)initWithTitle:(NSString *)title subTitle:(NSString *)subTitle cancelAction:(AlertAction)cancel successAction:(AlertAction)success showBC:(BOOL)isHas;

@property (nonatomic,copy) AlertAction cancelAction;
@property (nonatomic,copy) AlertAction successAction;

@property (nonatomic,assign) BOOL isAllways;


@end

NS_ASSUME_NONNULL_END
